package cn.janescott.inner.space.data.system.dto;

import java.io.Serializable;

/**
 * @author scott
 * @date 2018/8/1
 */
public class UserSummaryDTO implements Serializable {
    private UserDTO user;

    private AccountStatusDTO account;

    public UserDTO getUser() {
        return user;
    }

    public void setUser(UserDTO user) {
        this.user = user;
    }

    public AccountStatusDTO getAccount() {
        return account;
    }

    public void setAccount(AccountStatusDTO account) {
        this.account = account;
    }

    public UserSummaryDTO() {
    }

    public static UserSummaryDTO newInstance() {
        UserSummaryDTO userSummaryDTO = new UserSummaryDTO();
        userSummaryDTO.setUser(new UserDTO());
        userSummaryDTO.setAccount(new AccountStatusDTO());
        return userSummaryDTO;
    }
}
